package com.mybatis.example.pojo;

//实体类
public class User {
    private int id;
    private String n;
    private int age;
    private String bd;
    private String eml;

    public User() {
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getN() {
        return n;
    }

    public void setN(String n) {
        this.n = n;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public String getBd() {
        return bd;
    }

    public void setBd(String bd) {
        this.bd = bd;
    }

    public String getEml() {
        return eml;
    }

    public void setEml(String eml) {
        this.eml = eml;
    }

    @Override
    public String toString() {
        return "User{" +
                "id=" + id +
                ", n='" + n + '\'' +
                ", age=" + age +
                ", bd='" + bd + '\'' +
                ", eml='" + eml + '\'' +
                '}';
    }
}
